package com.boot.common.constant;

/**
 * 秒杀的常量
 */
public class SecKillConstant {

    public static final String SEC_KILL_SESSION_PREFIX = "seckill:sessions:";   //秒杀场次的key

    public static final String SEC_KILL_SKU_PREFIX = "seckill:skus";   //秒杀商品的key

    public static final String SEC_KILL_STOCK_SEMAPHORE = "seckill:stock:"; //信号量

    public static final String SEC_UP_LOCK = "seckill:lock";    //上架商品的分布式锁

}
